package com.service.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.service.dao.model.SysRole;

import java.util.List;

public interface SysRoleMapper extends BaseMapper<SysRole> {

    int insertSelective(SysRole record);

    int updateByPrimaryKeySelective(SysRole record);

    List<SysRole> listUserRole(Integer userId);
}